import request from './network.js'

const baseURL = "http://152.136.185.210:8000/api/h8"

// 首页轮播图数据
export function getMultiData() {
  return request({
    url: baseURL + '/home/multidata'
  })
}

export function getProduct(type, page) {
  return request({
    url: baseURL + '/home/data',
    data: {
      type,
      page
    }
  })
}